package com.qq.clone.user;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

@SpringBootApplication(scanBasePackages =
        {"com.qq.clone.user", "com.qq.clone.common","com.qq.clone.commonAuth"}
)
@EnableDiscoveryClient
@EnableFeignClients
@MapperScan("com.qq.clone.user.Db.Mapper") // 添加Mapper扫描
public class UserServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserServiceApplication.class, args);
    }

}